package gui;

public class Camera {
	private int xOffset;
	private int yOffset;
	private int scrollSpeed;
	
	public Camera() {
		scrollSpeed = 1; //default scroll
		xOffset = 0; // no initial x offset
		yOffset = 0; // no initial y offset
	}// end of constructor Camera
	public void scrollUp() {
		yOffset += scrollSpeed;
	}
	public void scrollDown() {
		yOffset -= scrollSpeed;
	}
	public void scrollLeft() {
		xOffset += scrollSpeed;
	}
	public void scrollRight() {
		xOffset -= scrollSpeed;
	}
	public int getXOffset() {
		return xOffset;
	}
	public int getYOffset() {
		return yOffset;
	}
}
